<template>
    <div style="height:40px; width: 950px;display: flex;margin: 0 auto;padding-top: 5px;z-index: 99999;" v-if="isShow" @click="clickMarquee">
       
        <marquee ref="marquee" style="line-height: 1.5;margin-left: 5px;font-size:20px;z-index: 99999;" behavior="scroll"
            direction="left" height="25" width:="25">
            {{ title }}
        </marquee>
         <img src="../../assets/img/gonggao.png" alt="" style="width:30px;height: 30px;z-index: 99999;transform: rotateY(180deg);">
    </div>
</template>

<script>
export default {
    props:{
          title:{
              type:String|Boolean,
              default:' '
          },
          isShow:{
              type: Boolean,
              default:false
          }
    },
    methods:{
        clickMarquee(){
            this.$emit('clickMarquee')
        }
    }
}
</script>

<style></style>